﻿

namespace KingerRobot.MexicoSailunMDC.SpiService;

    internal interface IWcsEquipWarehouseDistance
    {
    /// <summary>
    /// 获取所有硫化机堆垛机(库区)距离
    /// </summary>
    /// <returns></returns>
    List<POWcsEquipWarehouseDistance> GetEquipWarehouseDistance();
    /// <summary>
    /// 通过堆垛机获取硫化机距离
    /// <param name="crnId">堆垛机id</param>
    /// </summary>
    /// <returns></returns>
    List<POWcsEquipWarehouseDistance> GetEquipWarehouseDistanceByCrnId(long crnId);

    /// <summary>
    /// 通过库区id获取硫化机距离
    /// </summary>
    /// <param name="WarehouseId">库区id</param>
    /// <returns></returns>

    List<POWcsEquipWarehouseDistance> GetEquipWarehouseDistanceByWarehouseId(long WarehouseId);
    /// <summary>
    /// 获取堆垛机距离硫化机的输送时长(单位秒)
    /// </summary>
    /// <param name="crnId">堆垛机id</param>
    /// <param name="curingLocId">硫化机左右模位置id</param>
    /// <returns></returns>
    int GetCrnToCuringTransTime(long crnId,long curingLocId);
}

